﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Info_ManInfo" Codebehind="ManInfo.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<HTML>
	<HEAD>
		<title></title>
	<link href="../css.css" rel="stylesheet" type="text/css" />
	
		<style type="text/css">
		    body{font-size: 12px;cursor: default;font-family: 宋体;}
		</style>
	</HEAD>
	<body>
		<form id="Form1"  runat="server">
													<TABLE width="100%" id="Table4"  cellSpacing="1" cellPadding="0" border="0" align="left">
															<tr height="30">
					<td width="3%" background="../Images/topbg.jpg" align="left"><IMG height="16" src="../Images/icon/right.GIF">
					<b>学员列表</b>
					</td>
						
				</tr>
														<TR>
															<TD class="box" style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 0px; PADDING-TOP: 20px; height: 284px;" vAlign="top" width="100%">
                                                                &nbsp;&nbsp;

																<HR style="WIDTH: 100%; HEIGHT: 2px" SIZE="2">
																<asp:Label ID="My" runat="server" Text=""></asp:Label>
																<TABLE id="Table6" style="WIDTH: 100%; HEIGHT: 20px; font-size: 9pt;" cellSpacing="1" cellPadding="1" border="0">
																	<TR>
																		<TD noWrap style="height: 25px; width: 606px;" align="left">
                                                                            &nbsp;输入查询条件:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                                    <asp:DropDownList ID="DropDownList1" runat="server">
                                                        <asp:ListItem Value="Classid">学生就读班级</asp:ListItem>
                                                        <asp:ListItem Value="Name">学生姓名</asp:ListItem>
                                                    </asp:DropDownList>
                                                                            &nbsp;&nbsp; &nbsp;<asp:Button ID="Button1"  class="BnCss" runat="server" Text="查 询" OnClick="Button1_Click1" Width="60px" /></TD>
																		<TD noWrap align="left" style="height: 25px">
                                                                            &nbsp;
																			</TD>
																	</TR>
																</TABLE>
																<TABLE id="Table7"  width="100%" cellSpacing="0" cellPadding="0" border="0">
																	<TR>
																		<TD vAlign="top" style="width: 757px; height: 186px;">
																			<TABLE width="100%" cellSpacing="0" cellPadding="0" bordercolordark="#ffffff" bordercolor="#888888" border="1">
																				<tr>
																					<td style="width: 203px; height: 158px;">
                                                          <asp:GridView ID="GridView1" runat="server" Height="114px" Width="773px" AutoGenerateColumns="False" DataKeyNames="studentID" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" style="font-size: 9pt">
                                                        <RowStyle  CssClass="textcenter" ForeColor="#000066"/>
                                                        <FooterStyle CssClass="headcenter" BackColor="White" ForeColor="#000066"></FooterStyle>
                                                        <Columns>
                                                       
                                                            <asp:BoundField DataField="Name" HeaderText="姓名" />
                                                            <asp:BoundField DataField="age" HeaderText="年龄" ReadOnly="True" />
                                                            <asp:BoundField DataField="sex" HeaderText="性别" ReadOnly="True" />
                                                            <asp:BoundField DataField="address" HeaderText="地址" />
                                                            <asp:BoundField DataField="phone" HeaderText="电话" />
                                                            <asp:BoundField DataField="classid" HeaderText="就读班级" />
                                                            <asp:BoundField DataField="addtime" HeaderText="添加时间" />
                                                            <asp:BoundField DataField="studentID" HeaderText="studentID" Visible="False" />
                                                            <asp:CommandField HeaderText="更新" ShowEditButton="True" />
                                                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                                                        </Columns>
                                                              <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                                              <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                                              <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                                                    </asp:GridView>
                                                    &nbsp;<webdiyer:aspnetpager id="AspNetPager2" runat="server" custominfohtml="第<font color='red'><b>%CurrentPageIndex%</b></font>页  共:%PageCount%页&nbsp; %StartRecordIndex%-%EndRecordIndex%"
                                                        custominfotextalign="Center" firstpagetext="【首页】" height="25px" horizontalalign="Center"
                                                        inputboxstyle="width:19px" lastpagetext="【尾页】" nextpagetext="【下页】 " onpagechanged="AspNetPager2_PageChanged"
                                                        prevpagetext="【前页】 " showcustominfosection="Left" showinputbox="Never" shownavigationtooltip="True"
                                                        width="682px" style="font-size: 9pt"> </webdiyer:aspnetpager><
																			
																		</TD>
																	</TR>
																</TABLE>
		</form>
	</body>
</HTML>
